package jpa.repository;

import jpa.entity.Account;
import org.springframework.data.repository.CrudRepository;

/**
 * Created by barton on 16-5-13.
 */
public interface AccountRepository extends CrudRepository<Account, Long> {

    Account findByUsername(String username);
}
